<div class="creatuse">
  <h3>创建用户</h3>
  <hr>
  <div class="creatForm">
    <form class="form-horizontal" name="userFrom" ng-submit="submitData();">
      <div class="form-group">
        <label for="inputEmail3" class="col-sm-2 control-label">用户名</label>
        <div class="col-sm-6">
          <input type="text" class="form-control" ng-model="user.username" name="username" id="username" placeholder="请输入你的昵称" ng-required="true">
        </div>
        <div class="col-sm-4">
          <span class="text-danger" ng-show="userFrom.username.$dirty&&userFrom.username.$invalid">用户名格式不正确</span>
        </div>
      </div>
      <div class="form-group">
        <label for="inputPassword3" class="col-sm-2 control-label">密&emsp;码</label>
        <div class="col-sm-6">
          <input type="password" class="form-control" ng-model="user.password" id="pass_word" name="password" placeholder="请输入用户密码" ng-required="true">
        </div>
        <div class="col-sm-4">
          <span class="text-danger" ng-show="userFrom.password.$dirty&&userFrom.password.$invalid">密码格式不正确</span>
        </div>
      </div>
      <div class="form-group">
        <label for="inputPassword3" class="col-sm-2 control-label">电&emsp;话</label>
        <div class="col-sm-6">
          <input type="number" class="form-control" id="phone" ng-model="user.phone" name="phone" placeholder="请输入电话号码" ng-required="true">
        </div>
        <div class="col-sm-4">
          <span class="text-danger" ng-show="userFrom.phone.$dirty&&userFrom.phone.$invalid">电话号码格式不正确</span>
        </div>
      </div>
      <div class="form-group">
        <label for="inputPassword3" class="col-sm-2 control-label">性&emsp;别</label>
        <div class="col-sm-6">
          <label class="radio-inline">
            <input type="radio" value="man" ng-model="user.sex"> 男
          </label>
          <label class="radio-inline">
            <input type="radio" value="women" ng-model="user.sex"> 女
          </label>
        </div>
        <div class="col-sm-4">
          <span class="text-danger" ng-show="">你还没选择性别呢</span>
        </div>
      </div>
      <div class="form-group">
        <label for="inputPassword3" class="col-sm-2 control-label">简&emsp;介</label>
        <div class="col-sm-6">
          <textarea class="form-control" ng-model="user.info" id="info" name="info" rows="3" placeholder="请输入简介信息" ng-required="true"></textarea>
        </div>
        <div class="col-sm-4">
          <span class="text-danger" ng-show="userFrom.info.$dirty&&userFrom.info.$invalid">请输入简介</span>
        </div>
      </div>
      <div class="form-group">
        <div class="col-sm-offset-2 col-sm-6">
          <button type="submit" class="btn btn-success btn-block">Sign in</button>
        </div>
      </div>
    </form>
  </div>
</div>
